package com.xiegang.internalcommon.constant;

/**
 * @author xieGang
 * @description
 * @date 2023/3/1 16:48
 **/
public enum CommonStatusEnum {



    /***
     *错误提示
     */
    VERIFICATIONCODEERROR(1099,"验证码不正确"),
    TOKENERROR(1199,"token不正确"),
    USER_NOT_EXSITS(1200,"用户不存在"),
    PRICE_RULE_EMPTY(1300,"计价规则不存在"),
    PRICE_RULE_EXISTS(1301,"计划规则已存在，不允许添加"),
    MAP_DISTRICT_ERROR(1400,"请求地图错误"),
    DRIVER_EXISTS(1504,"该司机已经绑定，请勿重复绑定"),
    CAR_EXISTS(1505,"该车辆已经绑定，请勿重复绑定"),
    DRIVER_CAR_BIND_NOT_EXISTS(1505,"司机与车辆绑定关系不存在"),
    DRIVER_NOT_EXISTS(1506,"司机不存在"),
    DRIVER_GOING_ON(1600,"有正在进行的订单"),
    DEVICE_IS_BLACK(1601,"该设备超过下单次数"),
    CITY_DRIVER_EMPTY(1602,"当前城市没有可用司机"),
    CITY_SERVICE_NOT_SERVICE(1602,"当前城市不提供叫车服务"),
    AVAILABLE_DRIVER_TMPTY(1603,"可用的司机为空"),
    SUCCESS(200,"success"),
    FAIL(400,"fail")
    ;


    private int Code;

    private String message;

    CommonStatusEnum(int code, String message) {
        Code = code;
        this.message = message;
    }

    public int getCode() {
        return Code;
    }

    public void setCode(int code) {
        Code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }


}
